<ul>
	<%= render :partial => 'repositories/repository', :locals => { :repository => @repostiroy } %>
</ul>

<%= error_messages_for :note %>

<% form_for :note, :url => repository_notes_path(@repository) do |f| %>
	<p><label for="new_note_title">Title</label>
	<%= f.text_field :title, :class => "text", :size => "120" %>
	</p>

	<p><label for="new_note_body">Body</label>
		<div class="two_cols clearfix">
			<div class="left_col">
				<%= f.text_area :body, :class => "text" %>
			</div>
			<div class="right_col">
				
				<ul class="markdown_syntax_helper">
					<li class="title">Syntax Helper</li>

					<li class="group_title">Header</li>
					<li># Heading1</li>
					<li>### Heading3</li>
					
					<li class="group_title">Emphasis</li>
					<li>**bold**</li>
					<li>_italic_</li>

					<li class="group_title">Indenting</li>
					<li>&gt; indent</li>
					<li>&gt;&gt; more indent</li>

					<li class="group_title">List</li>
					<li>- unordered list</li>
					<li>1. ordered list</li>

					<li class="group_title">Link</li>
					<li>[Label](http://somewhere.com)</li>
					<li>&lt;http://somewhere.com&gt;</li>

					<li class="group_title">Image Link</li>
					<li>![Label](image_url)</li>

					<li class="group_title">Miscellaneous</li>
					<li>Line will be "code block" if it started with "four or more spaces"
					<li>Line will be "newline" if it ended with "two spaces"</li>
				</ul>

			</div>
		</div>
	</p>

	<p class="submit">
		<%= f.submit :post %>
	</p>
<% end %>
